package de.op.projectc.helper;

import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.physics.box2d.World;

/**
 * Created by Andy on 25.04.14.
 */
public class WorldHelper {
    private static World instance = null;

    protected WorldHelper() {
    }

    public static World getInstance() {
        if(instance == null) {
            instance = new World(new Vector2(0, -5f), true);
        }
        return instance;
    }

    public static void dispose() {
        instance.dispose();
        instance = null;
    }
}
